Conversation
Closed
5 tasks
PR Reviewer Guide 🔍(Review updated until commit 2dfc353)Here are some key observations to aid the review process:
|
|
Persistent review updated to latest commit 2dfc353 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
User description
관련 이슈 (Related Issues)
PR Type
Enhancement, Bug fix, Tests
Description
비밀번호 재설정 OTP/토큰 플로우 추가
세션 조회 API 추가(/auth/me)
질문 목록 페이징 도입 및 DTO 수정
CORS/보안 설정 개선 및 테스트 보강
Diagram Walkthrough
flowchart LR A["AuthController"] -- "GET /auth/me" --> B["AuthService.getSessionInfo"] A -- "POST /otp/sendEmail" --> C["PasswordResetService.requestOtp"] A -- "POST /otp/verify" --> D["PasswordResetService.verifyOtp"] A -- "POST /password/reset" --> E["PasswordResetService.resetPassword"] D -- "발급 resetToken" --> E C --- F["PasswordMapper.upsertPasswordOtp"] D --- F E --- G["AuthMapper.updatePasswordByEmail"] H["QuestionController"] -- "GET /question?page&size" --> I["QuestionService.getQuestions"] I --- J["AnswerMapper.find...Paged / count"] H -- "POST /{qid}/answer" --> K["AnswerService.saveAnswer"] K --- L["AnswerMapper.insertAnswer (key)"]File Walkthrough
25 files
세션 조회 및 비밀번호 재설정 엔드포인트 추가OTP/재설정 요청 DTO 및 응답 추가세션 정보 MeDto 응답 추가비밀번호 인증/토큰 엔티티 신설OTP/재설정 관련 에러코드 확장이메일로 비밀번호 업데이트 메서드 추가OTP/재설정 토큰용 매퍼 추가세션 조회 서비스 시그니처 추가로그인 세션 보강 및 세션 조회 구현비밀번호 재설정 서비스 인터페이스 추가OTP 발송·검증·재설정 로직 구현답변 저장 응답 수정 및 페이징 파라미터 추가AnswerDto 필드 축소 및 명확화공통 페이지 응답 DTO 추가질문 목록 페이징/카운트 쿼리 추가답변 저장 반환 타입을 DTO로 변경질문 목록 조회를 페이징으로 변경답변 저장 시 ID 반환 및 피드백 트리거페이징 적용 및 안전한 page/size 처리PasswordEncoder 위임 matches/encode 추가ME_SUCCESS 코드 추가CORS 적용 및 퍼블릭 경로 확장키 자동생성 및 페이징/카운트 쿼리 추가이메일 기반 비밀번호 업데이트 쿼리OTP/재설정 토큰용 SQL 매퍼 신설2 files
세션/OTP/재설정 API 스펙 문서화질문 목록 페이징 스펙 문서화3 files
CORS 전용 설정 빈 추가CORS 허용 도메인/메서드 확장PasswordVerification 타입 별칭 등록4 files
OTP/재설정 컨트롤러 테스트 추가비밀번호 재설정 서비스 단위 테스트답변 저장 반환값 및 상호작용 검증페이징 로직 및 상한 검증 테스트